<?php
namespace app\model;

use think\Model;

class Test extends Model
{
    protected $connection = 'sqlite';

    public function test()
    {
     return   $this->where(['id'=>1])->find();
    }
}